package org.example.cli.patern;

/**
 * 关闭开关命令
 * @author ricejson
 */
public class TurnOffCommand implements Command {
    @Override
    public void execute(Device device) {
        device.turnOff();
    }
}
